package com.example.expresscheck;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import android.widget.Toast;

public class Kuaidi100Acitivity extends Activity {
	WebView webView ;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		setContentView(R.layout.activity_kuaidi_100);
		String url = "http://shouji.baidu.com/soft/item?docid=6599902&from=web_alad_6";
		webView = (WebView) findViewById(R.id.webView1);
		webView.loadUrl(url);
		super.onCreate(savedInstanceState);
	}

	public void download(View view) {
		WeiKuaidiAcitivity.downloadAndInstanceApk(this,"http://app.lenovo.com/appdown/10009829-2", "kuaidi100.apk");
	}
	
}
